﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Bookkeeping.Mvc.Models.Budget.AmountViewModel>" %>

<% if (Model.IsAmountNegative){ %>

    <li class="postAmount negative"><%=Html.Encode(Model.Amount) %></li>

<%} else { %>

    <li class="postAmount positive"><%=Html.Encode(Model.Amount) %></li>
    
<% } %>